﻿namespace Fast.Extensions.DatabaseAccessor.EntityFrameworkCore
{
    /// <summary>
    /// 读仓储接口
    /// </summary>
    public interface IReadableRepository<TEntity> : IRootReadableRepository<TEntity, DefaultDbContextLocator>
        where TEntity : class, IRootEntity, new()
    {

    }
    /// <summary>
    /// 读仓储接口
    /// </summary>
    public interface IRootReadableRepository<TEntity, TDbContextLocator> : IRootReadableRepository<TEntity>
        where TEntity : class, IRootEntity, new()
        where TDbContextLocator : class, IDbContextLocator
    {

    }
    /// <summary>
    /// 读仓储接口
    /// </summary>
    public interface IRootReadableRepository<TEntity> : IRootRepositoryBase
        where TEntity : class, IRootEntity, new()
    {

    }
}
